import React from 'react';
import style from './style.less';

class Card extends React.Component{
    render(){
        return (
            <div className={style.card}>
                <div className={style.cardTitle}>{this.props.title}</div>
                {this.props.children}
            </div>
        )
    }
}

export default Card;